package com.neusoft.his.sys.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author 东软教育集团
 * @since 2022-08-24
 */
public class Dept implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "deptno" ,type = IdType.AUTO)
    private Integer deptno;
    @TableField("dname")
    private String dname;
    @TableField("loc")
    private String loc;

    public Integer getDeptno() {
        return deptno;
    }

    public void setDeptno(Integer deptno) {
        this.deptno = deptno;
    }
    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }
    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    @Override
    public String toString() {
        return "Dept{" +
            "deptno=" + deptno +
            ", dname=" + dname +
            ", loc=" + loc +
        "}";
    }
}
